<form class="validform" method="post" action="/diary/edit/<?= $show['id'] ?>/">
    <div class="col_box">
        <div class="col_two clear">
            <dl><dt>标题：</dt><dd><input type="text" name="title" class="input" value="<?= $show['title'] ?>" size="50" datatype="s10-50" nullmsg="标题不能为空" errormsg="最少10个字符(或5个汉字)" /></dd></dl>
            <dl><dt>内容：</dt><dd><textarea class="xheditor textarea" name="content" datatype="*" nullmsg=" " style="width:500px;height:220px;"><?= $show['content'] ?></textarea></dd></dl>
            <dl><dt>&nbsp;</dt>
                <dd>
                    <input type="checkbox" name="notinfamily" value="1" id="c_notinfamily_diary" class="checkbox" <?= checkchecked($show['family'], 0) ?>/> <label for="c_notinfamily_diary">不在家庭中显示</label>
                    <input type="checkbox" name="star" value="1" id="c_star_diary" class="checkbox" <?= checkchecked($show['star'], 1) ?>/> <label for="c_star_diary">加星标识</label>
                </dd>
            </dl>
            <dl><dt>&nbsp;</dt><dd style="width:500px;">
                    <a href="javascript:;" class="btn btn_s submit"><span><b class="icon icon-ok"></b><em>提交</em></span></a>
                    <a href="javascript:;" class="btn btn_w_s cancel"><span><b class="icon icon-remove"></b><em>取消</em></span></a>
                    <span class="poststate"><em>&nbsp;</em><b></b></span>
                </dd></dl>
        </div>
    </div>
</form>
<script type="text/javascript">
    KS.common.load('diary.edit');
</script>